package com.wzw.shoppingcart.service;

import com.wzw.shoppingcart.entity.CartLine;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.List;

/**
 *@author wzw
 * 2023/4/15
 */
@Service
public interface DiscountPromotionService {

    BigDecimal calculateDiscount(List<CartLine> cartLines, BigDecimal totalOriginPrice);


}
